package com.letsgo;

public class Player {
	private String name ;
	private String nick_name ;
	private String pwd ;
	
	public Player(String name, String nick_name, String pwd)
	{
		this.name = name ;
		this.nick_name = nick_name ;
		this.pwd = pwd ;
	}
	
	/**
	 * Retrieve the games of a player
	 * @return an array with the different games
	 */
	public Game[] getGames()
	{
		Game[] games = new Game[1];
		// TO DO Get THE GAMES of the player
		return games ;
	}
	
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * @return the nick_name
	 */
	public String getNick_name() {
		return nick_name;
	}
	
	/**
	 * @param nickName the nick_name to set
	 */
	public void setNick_name(String nickName) {
		nick_name = nickName;
	}

	/**
	 * @return the pwd
	 */
	public String getPwd() {
		return pwd;
	}

	/**
	 * @param pwd the pwd to set
	 */
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
}
